package com.boss.salary.service;

import com.boss.common.entity.PageDTO;
import com.boss.framework.dto.PaginationDTO;
import com.boss.framework.exception.AppRuntimeException;
import com.boss.salary.vo.FinancialAuditVO;
import com.boss.sys.ca.user.dto.UserDTO;

import java.util.List;
import java.util.Map;

public interface IFinancialAuditService {

    /**
     * 查询财政审核分页数据
     * @param paginationDTO
     * @param queryParam
     * @return
     */
    PageDTO<FinancialAuditVO> queryFinancialAuditPage(UserDTO userDto, PaginationDTO paginationDTO, Map<String, Object> queryParam, List<String> childrenId) throws AppRuntimeException;

    /**
     * 财政审核-审核通过
     * @param financialAuditVO
     */
    void financialAuditPass(UserDTO userDto, FinancialAuditVO financialAuditVO) throws AppRuntimeException;

    /**
     * 财政审核-退回
     * @param financialAuditVO
     */
    void financialAuditReject(UserDTO userDto, FinancialAuditVO financialAuditVO) throws AppRuntimeException;

    /**
     * 财政审核-撤销审核
     * @param financialAuditVO
     */
    void financialAuditRevoke(UserDTO userDto, FinancialAuditVO financialAuditVO) throws AppRuntimeException;
}
